package com.eshop.modules.activity.vo;

import java.util.LinkedHashMap;
import java.util.ArrayList;
import com.eshop.modules.product.domain.StoreProductAttrValue;
import java.util.Map;
import com.eshop.modules.product.vo.StoreProductAttrQueryVo;
import com.eshop.modules.product.vo.StoreProductReplyQueryVo;
import io.swagger.annotations.ApiModelProperty;
import com.eshop.modules.activity.service.dto.PinkDto;
import java.util.List;
import java.io.Serializable;

public class StoreCombinationVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("拼团详情")
    private List<PinkDto> pink;
    @ApiModelProperty("参与的拼团的id 集合")
    private List<Long> pindAll;
    @ApiModelProperty("拼团成功的用户信息")
    private List<String> pinkOkList;
    @ApiModelProperty("拼团完成的商品总件数")
    private Integer pinkOkSum;
    @ApiModelProperty("拼团评论信息")
    private StoreProductReplyQueryVo reply;
    @ApiModelProperty("拼团评论总条数")
    private Integer replyCount;
    @ApiModelProperty("拼团好评比例")
    private String replyChance;
    @ApiModelProperty("拼团产品表信息")
    private StoreCombinationQueryVo storeInfo;
    @ApiModelProperty("拼团产品用户是否收藏")
    private Boolean userCollect;
    @ApiModelProperty("拼团产品运费模板名称")
    private String tempName;
    @ApiModelProperty("拼团产品属性信息")
    private List<StoreProductAttrQueryVo> productAttr;
    @ApiModelProperty("拼团产品属性值")
    private Map<String, StoreProductAttrValue> productValue;
    
    public StoreCombinationVo() {
        this.replyCount = 0;
        this.userCollect = false;
        this.productAttr = new ArrayList<StoreProductAttrQueryVo>();
        this.productValue = new LinkedHashMap<String, StoreProductAttrValue>();
    }
    
    public List<PinkDto> getPink() {
        return this.pink;
    }
    
    public List<Long> getPindAll() {
        return this.pindAll;
    }
    
    public List<String> getPinkOkList() {
        return this.pinkOkList;
    }
    
    public Integer getPinkOkSum() {
        return this.pinkOkSum;
    }
    
    public StoreProductReplyQueryVo getReply() {
        return this.reply;
    }
    
    public Integer getReplyCount() {
        return this.replyCount;
    }
    
    public String getReplyChance() {
        return this.replyChance;
    }
    
    public StoreCombinationQueryVo getStoreInfo() {
        return this.storeInfo;
    }
    
    public Boolean getUserCollect() {
        return this.userCollect;
    }
    
    public String getTempName() {
        return this.tempName;
    }
    
    public List<StoreProductAttrQueryVo> getProductAttr() {
        return this.productAttr;
    }
    
    public Map<String, StoreProductAttrValue> getProductValue() {
        return this.productValue;
    }
    
    public void setPink(final List<PinkDto> pink) {
        this.pink = pink;
    }
    
    public void setPindAll(final List<Long> pindAll) {
        this.pindAll = pindAll;
    }
    
    public void setPinkOkList(final List<String> pinkOkList) {
        this.pinkOkList = pinkOkList;
    }
    
    public void setPinkOkSum(final Integer pinkOkSum) {
        this.pinkOkSum = pinkOkSum;
    }
    
    public void setReply(final StoreProductReplyQueryVo reply) {
        this.reply = reply;
    }
    
    public void setReplyCount(final Integer replyCount) {
        this.replyCount = replyCount;
    }
    
    public void setReplyChance(final String replyChance) {
        this.replyChance = replyChance;
    }
    
    public void setStoreInfo(final StoreCombinationQueryVo storeInfo) {
        this.storeInfo = storeInfo;
    }
    
    public void setUserCollect(final Boolean userCollect) {
        this.userCollect = userCollect;
    }
    
    public void setTempName(final String tempName) {
        this.tempName = tempName;
    }
    
    public void setProductAttr(final List<StoreProductAttrQueryVo> productAttr) {
        this.productAttr = productAttr;
    }
    
    public void setProductValue(final Map<String, StoreProductAttrValue> productValue) {
        this.productValue = productValue;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCombinationVo)) {
            return false;
        }
        final StoreCombinationVo other = (StoreCombinationVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$pinkOkSum = this.getPinkOkSum();
        final Object other$pinkOkSum = other.getPinkOkSum();
        Label_0065: {
            if (this$pinkOkSum == null) {
                if (other$pinkOkSum == null) {
                    break Label_0065;
                }
            }
            else if (this$pinkOkSum.equals(other$pinkOkSum)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$replyCount = this.getReplyCount();
        final Object other$replyCount = other.getReplyCount();
        Label_0102: {
            if (this$replyCount == null) {
                if (other$replyCount == null) {
                    break Label_0102;
                }
            }
            else if (this$replyCount.equals(other$replyCount)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$userCollect = this.getUserCollect();
        final Object other$userCollect = other.getUserCollect();
        Label_0139: {
            if (this$userCollect == null) {
                if (other$userCollect == null) {
                    break Label_0139;
                }
            }
            else if (this$userCollect.equals(other$userCollect)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$pink = this.getPink();
        final Object other$pink = other.getPink();
        Label_0176: {
            if (this$pink == null) {
                if (other$pink == null) {
                    break Label_0176;
                }
            }
            else if (this$pink.equals(other$pink)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$pindAll = this.getPindAll();
        final Object other$pindAll = other.getPindAll();
        Label_0213: {
            if (this$pindAll == null) {
                if (other$pindAll == null) {
                    break Label_0213;
                }
            }
            else if (this$pindAll.equals(other$pindAll)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$pinkOkList = this.getPinkOkList();
        final Object other$pinkOkList = other.getPinkOkList();
        Label_0250: {
            if (this$pinkOkList == null) {
                if (other$pinkOkList == null) {
                    break Label_0250;
                }
            }
            else if (this$pinkOkList.equals(other$pinkOkList)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$reply = this.getReply();
        final Object other$reply = other.getReply();
        Label_0287: {
            if (this$reply == null) {
                if (other$reply == null) {
                    break Label_0287;
                }
            }
            else if (this$reply.equals(other$reply)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$replyChance = this.getReplyChance();
        final Object other$replyChance = other.getReplyChance();
        Label_0324: {
            if (this$replyChance == null) {
                if (other$replyChance == null) {
                    break Label_0324;
                }
            }
            else if (this$replyChance.equals(other$replyChance)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$storeInfo = this.getStoreInfo();
        final Object other$storeInfo = other.getStoreInfo();
        Label_0361: {
            if (this$storeInfo == null) {
                if (other$storeInfo == null) {
                    break Label_0361;
                }
            }
            else if (this$storeInfo.equals(other$storeInfo)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$tempName = this.getTempName();
        final Object other$tempName = other.getTempName();
        Label_0398: {
            if (this$tempName == null) {
                if (other$tempName == null) {
                    break Label_0398;
                }
            }
            else if (this$tempName.equals(other$tempName)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$productAttr = this.getProductAttr();
        final Object other$productAttr = other.getProductAttr();
        Label_0435: {
            if (this$productAttr == null) {
                if (other$productAttr == null) {
                    break Label_0435;
                }
            }
            else if (this$productAttr.equals(other$productAttr)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$productValue = this.getProductValue();
        final Object other$productValue = other.getProductValue();
        if (this$productValue == null) {
            if (other$productValue == null) {
                return true;
            }
        }
        else if (this$productValue.equals(other$productValue)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCombinationVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $pinkOkSum = this.getPinkOkSum();
        result = result * 59 + (($pinkOkSum == null) ? 43 : $pinkOkSum.hashCode());
        final Object $replyCount = this.getReplyCount();
        result = result * 59 + (($replyCount == null) ? 43 : $replyCount.hashCode());
        final Object $userCollect = this.getUserCollect();
        result = result * 59 + (($userCollect == null) ? 43 : $userCollect.hashCode());
        final Object $pink = this.getPink();
        result = result * 59 + (($pink == null) ? 43 : $pink.hashCode());
        final Object $pindAll = this.getPindAll();
        result = result * 59 + (($pindAll == null) ? 43 : $pindAll.hashCode());
        final Object $pinkOkList = this.getPinkOkList();
        result = result * 59 + (($pinkOkList == null) ? 43 : $pinkOkList.hashCode());
        final Object $reply = this.getReply();
        result = result * 59 + (($reply == null) ? 43 : $reply.hashCode());
        final Object $replyChance = this.getReplyChance();
        result = result * 59 + (($replyChance == null) ? 43 : $replyChance.hashCode());
        final Object $storeInfo = this.getStoreInfo();
        result = result * 59 + (($storeInfo == null) ? 43 : $storeInfo.hashCode());
        final Object $tempName = this.getTempName();
        result = result * 59 + (($tempName == null) ? 43 : $tempName.hashCode());
        final Object $productAttr = this.getProductAttr();
        result = result * 59 + (($productAttr == null) ? 43 : $productAttr.hashCode());
        final Object $productValue = this.getProductValue();
        result = result * 59 + (($productValue == null) ? 43 : $productValue.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCombinationVo(pink=" + this.getPink() + ", pindAll=" + this.getPindAll() + ", pinkOkList=" + this.getPinkOkList() + ", pinkOkSum=" + this.getPinkOkSum() + ", reply=" + this.getReply() + ", replyCount=" + this.getReplyCount() + ", replyChance=" + this.getReplyChance() + ", storeInfo=" + this.getStoreInfo() + ", userCollect=" + this.getUserCollect() + ", tempName=" + this.getTempName() + ", productAttr=" + this.getProductAttr() + ", productValue=" + this.getProductValue() + ")";
    }
}
